package com.sgb.kjwl.model.entity;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 会员价详情
 */
public class MemberPriceEntity implements Serializable {
    private ItemMember itemMember;
    private List<ItemMemberList> itemMemberList = new ArrayList<>();
    private List<MemberPriceSkuDetail> memberPriceSkuDetail = new ArrayList<>();
    private String preciseStorageName;// 仓储名称
    private String brandName;// 品牌名称
    private String title; //品名
    private Integer state;//状态 0-失效 1-生效
    private String cartTitle;

    public String getCartTitle() {
        return cartTitle;
    }

    public void setCartTitle(String cartTitle) {
        this.cartTitle = cartTitle;
    }

    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ItemMember getItemMember() {
        return itemMember;
    }

    public void setItemMember(ItemMember itemMember) {
        this.itemMember = itemMember;
    }

    public List<ItemMemberList> getItemMemberList() {
        return itemMemberList;
    }

    public void setItemMemberList(List<ItemMemberList> itemMemberList) {
        this.itemMemberList = itemMemberList;
    }

    public List<MemberPriceSkuDetail> getMemberPriceSkuDetail() {
        return memberPriceSkuDetail;
    }

    public void setMemberPriceSkuDetail(List<MemberPriceSkuDetail> memberPriceSkuDetail) {
        this.memberPriceSkuDetail = memberPriceSkuDetail;
    }

    public String getPreciseStorageName() {
        return preciseStorageName;
    }

    public void setPreciseStorageName(String preciseStorageName) {
        this.preciseStorageName = preciseStorageName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public class ItemMember implements Serializable {
        private String createTime;//创建时间
        private String id;//
        private int isDeleted;
        private String itemId; //商品id
        private String supplierContact;
        private String supplierPhone;
        private int state;

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getIsDeleted() {
            return isDeleted;
        }

        public void setIsDeleted(int isDeleted) {
            this.isDeleted = isDeleted;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getSupplierContact() {
            return supplierContact;
        }

        public void setSupplierContact(String supplierContact) {
            this.supplierContact = supplierContact;
        }

        public String getSupplierPhone() {
            return supplierPhone;
        }

        public void setSupplierPhone(String supplierPhone) {
            this.supplierPhone = supplierPhone;
        }
    }

    //操作记录
    public class ItemMemberList implements  Serializable{
        private String createTime;//创建时间
        private String id;//
        private int isDeleted;
        private String itemId; //商品id
        private String supplierContact;
        private String supplierPhone;
        private List<SkuMemberPriceList> itemSkuMemberPriceList = new ArrayList<>();

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getIsDeleted() {
            return isDeleted;
        }

        public void setIsDeleted(int isDeleted) {
            this.isDeleted = isDeleted;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public List<SkuMemberPriceList> getItemSkuMemberPriceList() {
            return itemSkuMemberPriceList;
        }

        public void setItemSkuMemberPriceList(List<SkuMemberPriceList> itemSkuMemberPriceList) {
            this.itemSkuMemberPriceList = itemSkuMemberPriceList;
        }

        public String getSupplierContact() {
            return supplierContact;
        }

        public void setSupplierContact(String supplierContact) {
            this.supplierContact = supplierContact;
        }

        public String getSupplierPhone() {
            return supplierPhone;
        }

        public void setSupplierPhone(String supplierPhone) {
            this.supplierPhone = supplierPhone;
        }
    }


    public class SkuMemberPriceList implements Serializable{
        private String skuDetails;
        private String skuId;
        private String itemMemberNo;

        public String getSkuDetails() {
            return skuDetails;
        }

        public void setSkuDetails(String skuDetails) {
            this.skuDetails = skuDetails;
        }

        public String getSkuId() {
            return skuId;
        }

        public void setSkuId(String skuId) {
            this.skuId = skuId;
        }

        public String getItemMemberNo() {
            return itemMemberNo;
        }

        public void setItemMemberNo(String itemMemberNo) {
            this.itemMemberNo = itemMemberNo;
        }
    }


    public class MemberPriceSkuDetail implements Serializable{
        /**
         *创建时间
         */
        private String createTime;//创建时间
        private String id;//
        private int isDeleted;
        /**
         *商品id
         */
        private String itemId; //商品id
        /**
         *商品会员信息no
         */
        private String itemMemberNo;
        /**
         *会员等级 0-普通会员 1-一星会员 2-二星会员 3-三星会员 4-四星会员 5-五星会员
         */
        private Integer level;//会员等级 0-普通会员 1-一星会员 2-二星会员 3-三星会员 4-四星会员 5-五星会员
        /**
         *销售价格
         */
        private String parityPrice;//销售价格
        /**
         *价格
         */
        private String price;//价格
        /**
         *促销价格
         */
        private String promotionPrice;//促销价格
        /**
         *sku详情
         */
        private String skuDetails;//sku详情
        /**
         *商品Sku_id
         */
        private String skuId;//商品Sku_id

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getIsDeleted() {
            return isDeleted;
        }

        public void setIsDeleted(int isDeleted) {
            this.isDeleted = isDeleted;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getItemMemberNo() {
            return itemMemberNo;
        }

        public void setItemMemberNo(String itemMemberNo) {
            this.itemMemberNo = itemMemberNo;
        }

        public Integer getLevel() {
            return level;
        }

        public void setLevel(Integer level) {
            this.level = level;
        }

        public String getParityPrice() {
            return parityPrice;
        }

        public void setParityPrice(String parityPrice) {
            this.parityPrice = parityPrice;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPromotionPrice() {
            return promotionPrice;
        }

        public void setPromotionPrice(String promotionPrice) {
            this.promotionPrice = promotionPrice;
        }

        public String getSkuDetails() {
            return skuDetails;
        }

        public void setSkuDetails(String skuDetails) {
            this.skuDetails = skuDetails;
        }

        public String getSkuId() {
            return skuId;
        }

        public void setSkuId(String skuId) {
            this.skuId = skuId;
        }
    }
}
